package com.sunthy.mall.model.admin.pojo.goods;

public class Spec {

    private Integer id;
    private Integer goodsId;
    private String name;
    private Integer stockNum;
    private Double price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStockNum() {
        return stockNum;
    }

    public void setStockNum(Integer stockNum) {
        this.stockNum = stockNum;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Spec(Integer id, Integer goodsId, String name, Integer stockNum, Double price) {
        this.id = id;
        this.goodsId = goodsId;
        this.name = name;
        this.stockNum = stockNum;
        this.price = price;
    }

    public Spec() {
    }
}
